﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x02000218 RID: 536
	public class CompactModeStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x06001257 RID: 4695 RVA: 0x003189DC File Offset: 0x00316BDC
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			CompactModeStmtFormatter compactModeStmtFormatter = formatterArg as CompactModeStmtFormatter;
			compactModeStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			compactModeStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
		}

		// Token: 0x06001258 RID: 4696 RVA: 0x00318A05 File Offset: 0x00316C05
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new CompactModeStmtFormatter();
		}
	}
}
